package com.nf.teamwork.mall.utils;

import lombok.Data;

import java.util.Date;

/**
 * @Author: LJP
 * @Classname PayLoad
 * @Date: 2020-02-29 19:27
 * @Description: 为了方便后期获取token中的用户信息，将token中载荷部分单独封装成一个对象
 */
@Data
public class PayLoad<T> {
    private String id;
    private T userInfo;
    private Date expiration;
}
